﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Styx.Common;

namespace OCBotBase
{
    class Vendor
    {
        private String VendorID;
        private String VendorX;
        private String VendorY;
        private String VendorZ;
        private String Zone;

        public Vendor()
        {

        }

        public void setValue(String valName, String valValue)
        {
            switch (valName)
            {
                case "VendorID":
                    VendorID = valValue;
                    return;
                case "VendorX":
                    VendorX = valValue;
                    return;
                case "VendorY":
                    VendorY = valValue;
                    return;
                case "VendorZ":
                    VendorZ = valValue;
                    return;
                case "Zone":
                    Zone = valValue;
                    return;
                default:
                    Logging.Write("[OCBot] Found value {0} could not comprehend", valName);
                    return;
            }
        }
    }
}
